<?php


class Blackbird_Form_Content_ArticleParams extends Zend_Form_SubForm
{
	function __construct($options = null)
	{
		parent::__construct($options);

        $model = new Blackbird_Model_Content();
        $slugOptions = $model->fetchArticleSelection();
		$this
			->addElement('select', 'slug', array(
				'label' => 'Artículo:',
				'required' => true,
				'multiOptions' => $slugOptions,
				'style' => 'width:350px',
			))
			;

		$this->setDefaults(array(
			'mainArticlesCount' => 1,
			'summaryArticlesCount' => 8,
			'linkArticlesCount' => 4,
		));
	}
}

